
const PREFIX = 'ginessential';

const USER_PREFIX = `${PREFIX}user_`;
const USER_TOKEN = `${USER_PREFIX}TOKEN`;
const USER_INFO = `${USER_PREFIX}INFO`;

const set = (key, data)=>{
    localStorage.setItem(key, data);
}

const get = (key)=>{
    return localStorage.getItem(key)
}

export default{
    set,
    get,
    USER_INFO,
    USER_TOKEN
}